#!/usr/bin/python
a=""
b=""
alia = "8*y*cali*china*it*soft*linux*python"
for i in alia:
    if i == "*":
        a = a+i
    else:
        b = b+i
else:
    c = a+b
    print(c)

print("======================================")
print("======================================")
print("======================================")
a = ''.join(alia.split("*"))
coun = alia.count("*")
c = coun*"*"
b=c+a
print(b)

